package org.component.item 
{
	import flash.display.MovieClip;
	import flash.events.EventDispatcher;
	
	/**
	 * ...
	 * @author Terry
	 */
	public class Component extends EventDispatcher 
	{
		
		private var _assest:MovieClip = null;
		
		public function Component(ui:MovieClip = null) 
		{
			_assest = ui;
			
			initialization();
			
			configureEventListeners();
		}
		
		/**
		 * 初始化
		 */
		protected function initialization():void
		{
			assest.stop();
		}
		/**
		 * 添加侦听事件;
		 */
		protected function configureEventListeners():void
		{
			
		}
		
		public function get y():Number { return _assest.y; }
		public function set y(value:Number):void { _assest.y = value; }
		
		public function get assest():MovieClip { return _assest; }
	}

}